package com.foreknow.service;

import com.foreknow.dao.HelloDao;
import com.foreknow.model.Hello;

import java.util.List;

public interface HelloService {
    /**
     * 查询所有
     * @param hello
     * @return
     */
    public List<Object> add();

    /**
     * 单个查询
     * @param id
     * @return
     */
    public Hello query (int id);
    public boolean update (Hello hello);
}
